/**
 * 
 */
package org.codesketch.controller.domain;

import java.net.URI;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Abstract the test application that is going to be deployed on the remote machine, 
 * exposes as well the source, install and run information.
 * @author quirino.brizi@gmail.com
 *
 */
@Document
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Application {

	private Integer id;
	private String name;
	
	private URI source;
	private String install;
	private String run;
	
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @return the source
	 */
	public URI getSource() {
		return source;
	}
	/**
	 * @return the install
	 */
	public String getInstall() {
		return install;
	}
	/**
	 * @return the run
	 */
	public String getRun() {
		return run;
	}
	/**
	 * @return
	 */
	public String getName() {
		return name;
	}
}
